<!DOCTYPEhtml>
<html>
	<head>
		<metacharset="UTF-8">
		<title></title>
	</head>
	<body>
		<ul id="list"><li>a</li><li>b</li><li>c</li>abcdefg</ul>
		<ul id="list2">
			<li>a</li><li>b</li><li>c</li>abcdefg
		</ul>
	</body>
</html>

<script type="text/javascript">
	var list=document.getElementById('list');
	var list2=document.getElementById('list2');
	// 获取子节点(childNodes) => 获取list和list2标签的子节点
	
	// 获取子节点的个数
	
</script>
